﻿<%@ Page Title="Design Detail" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DesignDetail.aspx.cs" Inherits="Solution.DesignDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Page.Title.PadRight(40, ' ').ToUpper() %></h1><h2><asp:Label runat="server" ID="lblTitle"></asp:Label></h2>
            </hgroup>
            <asp:Label runat="server" ID="lblIntro"></asp:Label>
        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <asp:Image runat="server" ID="imgThumb" CssClass="wrap-text" />
    <asp:Label runat="server" ID="lblDetail"></asp:Label>
    <div style="margin-top: 50px; border-top: 1px #7ac0da dashed; padding-top: 20px">
        <asp:Repeater ID="rptRelatedDesign" runat="server">
            <ItemTemplate>
                <div id="imageContainer">
                    <div>
                        <a href='DesignDetail.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id") %>'>
                            <img src='<%# DataBinder.Eval(Container.DataItem, "Thumb") %>' 
                                alt='<%# DataBinder.Eval(Container.DataItem, "Title") %>'/>
                        </a>
                    </div>
                    <div>
                        <%# DataBinder.Eval(Container.DataItem, "Title") %>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>